package com.goldcn.goods.model;

import com.goldcn.common.util.IdGen;

public class GoodsImages {
    private Long imgID;

    private Long goodsID;

    private String url;

    private Integer seq;

    private String imgDesc;

    public Long getImgID() {
        return imgID;
    }

    public void setImgID(Long imgID) {
        this.imgID = imgID;
    }

    public Long getGoodsID() {
        return goodsID;
    }

    public void setGoodsID(Long goodsID) {
        this.goodsID = goodsID;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public String getImgDesc() {
        return imgDesc;
    }

    public void setImgDesc(String imgDesc) {
        this.imgDesc = imgDesc;
    }

    public GoodsImages(Long goodsID, String url, Integer seq, String imgDesc) {
        this.imgID = IdGen.get().nextId();
        this.goodsID = goodsID;
        this.url = url;
        this.seq = seq;
        this.imgDesc = imgDesc;
    }

    public GoodsImages() {
    }
}